package com.jcl.core.db.model;

/**
 * @ClassName DataSourceEnum
 * @Author yyliu
 * @Date 2018/12/10 16:16
 * @Version 1.0
 **/
public enum DataSourceEnum {

    DRIVER_CLASS_NAME("driverClassName"),

    DB_URL("url"),

    DB_USERNAME("username"),

    DB_PASSWORD("password"),
    DB_initialSize("initialSize"),
    DB_minIdle("minIdle"),
    DB_maxActive("maxActive"),
    DB_maxWait("maxWait"),
    DB_timeBetweenEvictionRunsMillis("timeBetweenEvictionRunsMillis"),
    DB_minEvictableIdleTimeMillis("minEvictableIdleTimeMillis"),
    DB_validationQuery("validationQuery"),
    DB_testWhileIdle("testWhileIdle"),
    DB_testOnBorrow("testOnBorrow"),
    DB_testOnReturn("testOnReturn"),
    DB_poolPreparedStatements("poolPreparedStatements"),
    DB_maxPoolPreparedStatementPerConnectionSize("maxPoolPreparedStatementPerConnectionSize"),
    DB_logAbandoned("logAbandoned"),
    DB_removeAbandoned("removeAbandoned"),
    DB_removeAbandonedTimeout("removeAbandonedTimeout");

    // 成员变量
    private String name;

    public String getName() {
        return name;
    }

    DataSourceEnum(String name){
        this.name = name;
    }

}
